﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class NhanVien

    {
        private Guid _id;
        private Guid _maPhongBan = Guid.Empty;
        private byte[] _anh;
        private string _soNhanVien = String.Empty;
        private string _biDanh = String.Empty;
        private string _hoTen = String.Empty;
        private DateTime _ngaySinh;
        private bool _gioiTinh;
        private string _danToc = String.Empty;
        private string _tonGiao = String.Empty;
        private string _quocTich = String.Empty;
        private string _soCMND = String.Empty;
        private DateTime _ngayCap;
        private string _noiCap = String.Empty;
        private int _mobile;
        private string _email = String.Empty;
        private Guid _trinhDo = Guid.Empty;
        private string _heDaoTao = String.Empty;
        private string _chucVu = String.Empty;
        private bool _datChuanNgheNghiep;
        private string _diaChiThuongChu = String.Empty;
        private string _tinhThuongChu = String.Empty;
        private string _huyenThuongChu = String.Empty;
        private string _xaThuongChu = String.Empty;
        private string _hoTenBo = String.Empty;
        private string _hoTenMe = String.Empty;
        private string _hoTenVoChong = String.Empty;
        private bool _voChongConSong;
        private bool _laDoanVien;
        private DateTime _ngayVaoDoan;
        private bool _laDangVien;
        private DateTime _ngayVaoDang;
        private string _soTheDang = String.Empty;
        private string _loaiHopDong = String.Empty;
        private string _soSoBaoHiem = String.Empty;
        private bool _laDanTocThieuSo;
        private decimal _heSoLuong;
        private decimal _bacLuong;
        private DateTime _ngayNghiViec;
        private string _lyDoNghiViec = String.Empty;
        private int _schoolID;

        public NhanVien()
        {
             
        }

        public NhanVien(   Guid _id,
         Guid _maPhongBan ,
         byte[] _anh,
         string _soNhanVien,
         string _biDanh,
         string _hoTen ,
         DateTime _ngaySinh,
         bool _gioiTinh,
         string _danToc ,
         string _tonGiao ,
         string _quocTich ,
         string _soCMND ,
         DateTime _ngayCap,
         string _noiCap ,
         int _mobile,
         string _email ,
         Guid _trinhDo,
         string _heDaoTao ,
         string _chucVu ,
         bool _datChuanNgheNghiep,
         string _diaChiThuongChu ,
         string _tinhThuongChu ,
         string _huyenThuongChu,
         string _xaThuongChu ,
         string _hoTenBo ,
         string _hoTenMe ,
         string _hoTenVoChong ,
         bool _voChongConSong,
         bool _laDoanVien,
         DateTime _ngayVaoDoan,
         bool _laDangVien,
         DateTime _ngayVaoDang,
         string _soTheDang ,
         string _loaiHopDong,
         string _soSoBaoHiem,
         bool _laDanTocThieuSo,
         decimal _heSoLuong,
         decimal _bacLuong,
         DateTime _ngayNghiViec,
         string _lyDoNghiViec,
         int _schoolID)
        {
            Id = _id;
            MaPhongBan = _maPhongBan;
            Anh = _anh;
            SoNhanVien = _soNhanVien;
            BiDanh = _biDanh;
            HoTen = _hoTen;
            NgaySinh = _ngaySinh;
            GioiTinh = _gioiTinh;
            DanToc = _danToc;
            TonGiao = _tonGiao;
            QuocTich = _quocTich;
            SoCMND = _soCMND;
            NgayCap = _ngayCap;
            NoiCap = _noiCap;
            Mobile = _mobile;
            Email = _email;
            TrinhDo = _trinhDo;
            HeDaoTao = _heDaoTao;
            ChucVu = _chucVu;
            DatChuanNgheNghiep = _datChuanNgheNghiep;
            DiaChiThuongChu = _diaChiThuongChu;
            TinhThuongChu = _tinhThuongChu;
            HuyenThuongChu = _huyenThuongChu;
            XaThuongChu = _xaThuongChu;
            HoTenBo = _hoTenBo;
            HoTenMe = _hoTenMe;
            HoTenVoChong = _hoTenVoChong;
            VoChongConSong = _voChongConSong;
            LaDoanVien = _laDoanVien;
            NgayVaoDoan = _ngayVaoDoan;
            LaDangVien = _laDangVien;
            NgayVaoDang = _ngayVaoDang;
            SoTheDang = _soTheDang;
            LoaiHopDong = _loaiHopDong;
            SoSoBaoHiem = _soSoBaoHiem;
            LaDanTocThieuSo = _laDanTocThieuSo;
            HeSoLuong = _heSoLuong;
            BacLuong = _bacLuong;
            NgayNghiViec = _ngayNghiViec;
            LyDoNghiViec = _lyDoNghiViec;
            SchoolID = _schoolID;
        }

        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Guid MaPhongBan
        {
            get { return _maPhongBan; }
            set { _maPhongBan = value; }
        }

        public byte[] Anh
        {
            get { return _anh; }
            set { _anh = value; }
        }

        public string SoNhanVien
        {
            get { return _soNhanVien; }
            set { _soNhanVien = value; }
        }

        public string BiDanh
        {
            get { return _biDanh; }
            set { _biDanh = value; }
        }

        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }

        public DateTime NgaySinh
        {
            get { return _ngaySinh; }
            set { _ngaySinh = value; }
        }

        public bool GioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }

        public string DanToc
        {
            get { return _danToc; }
            set { _danToc = value; }
        }

        public string TonGiao
        {
            get { return _tonGiao; }
            set { _tonGiao = value; }
        }

        public string QuocTich
        {
            get { return _quocTich; }
            set { _quocTich = value; }
        }

        public string SoCMND
        {
            get { return _soCMND; }
            set { _soCMND = value; }
        }

        public DateTime NgayCap
        {
            get { return _ngayCap; }
            set { _ngayCap = value; }
        }

        public string NoiCap
        {
            get { return _noiCap; }
            set { _noiCap = value; }
        }

        public int Mobile
        {
            get { return _mobile; }
            set { _mobile = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public Guid TrinhDo
        {
            get { return _trinhDo; }
            set { _trinhDo = value; }
        }

        public string HeDaoTao
        {
            get { return _heDaoTao; }
            set { _heDaoTao = value; }
        }

        public string ChucVu
        {
            get { return _chucVu; }
            set { _chucVu = value; }
        }

        public bool DatChuanNgheNghiep
        {
            get { return _datChuanNgheNghiep; }
            set { _datChuanNgheNghiep = value; }
        }

        public string DiaChiThuongChu
        {
            get { return _diaChiThuongChu; }
            set { _diaChiThuongChu = value; }
        }

        public string TinhThuongChu
        {
            get { return _tinhThuongChu; }
            set { _tinhThuongChu = value; }
        }

        public string HuyenThuongChu
        {
            get { return _huyenThuongChu; }
            set { _huyenThuongChu = value; }
        }

        public string XaThuongChu
        {
            get { return _xaThuongChu; }
            set { _xaThuongChu = value; }
        }

        public string HoTenBo
        {
            get { return _hoTenBo; }
            set { _hoTenBo = value; }
        }

        public string HoTenMe
        {
            get { return _hoTenMe; }
            set { _hoTenMe = value; }
        }

        public string HoTenVoChong
        {
            get { return _hoTenVoChong; }
            set { _hoTenVoChong = value; }
        }

        public bool VoChongConSong
        {
            get { return _voChongConSong; }
            set { _voChongConSong = value; }
        }

        public bool LaDoanVien
        {
            get { return _laDoanVien; }
            set { _laDoanVien = value; }
        }

        public DateTime NgayVaoDoan
        {
            get { return _ngayVaoDoan; }
            set { _ngayVaoDoan = value; }
        }

        public bool LaDangVien
        {
            get { return _laDangVien; }
            set { _laDangVien = value; }
        }

        public DateTime NgayVaoDang
        {
            get { return _ngayVaoDang; }
            set { _ngayVaoDang = value; }
        }

        public string SoTheDang
        {
            get { return _soTheDang; }
            set { _soTheDang = value; }
        }

        public string LoaiHopDong
        {
            get { return _loaiHopDong; }
            set { _loaiHopDong = value; }
        }

        public string SoSoBaoHiem
        {
            get { return _soSoBaoHiem; }
            set { _soSoBaoHiem = value; }
        }

        public bool LaDanTocThieuSo
        {
            get { return _laDanTocThieuSo; }
            set { _laDanTocThieuSo = value; }
        }

        public decimal HeSoLuong
        {
            get { return _heSoLuong; }
            set { _heSoLuong = value; }
        }

        public decimal BacLuong
        {
            get { return _bacLuong; }
            set { _bacLuong = value; }
        }

        public DateTime NgayNghiViec
        {
            get { return _ngayNghiViec; }
            set { _ngayNghiViec = value; }
        }

        public string LyDoNghiViec
        {
            get { return _lyDoNghiViec; }
            set { _lyDoNghiViec = value; }
        }

        public int SchoolID
        {
            get { return _schoolID; }
            set { _schoolID = value; }
        }
        #endregion
    }
}
